import Vue from "vue";
import Router from "vue-router";
Vue.use(Router);

export default new Router({
  routes: [
    // 路由进入重定向
    {
      path: "/",
      redirect: "/index",
    },
    // 主路由
    {
      path: "/index",
      name: "index",
      component: () => import("src/views/admin/component/index"),
    },
  ],
});
